package com.whfc.fmam.service;

import com.whfc.common.exception.BizException;
import com.whfc.fmam.entity.qo.LicenseActiveQO;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/15 9:29
 */
public interface FmamLicenseService {

    /**
     * 授权文件生成
     *
     * @param weighRoomId 磅房ID
     * @return
     * @throws BizException
     */
    String licenseGenerate(Integer weighRoomId) throws BizException;

    /**
     * 授权文件激活
     *
     * @param licenseActiveQO
     * @throws BizException
     */
    void licenseActive(LicenseActiveQO licenseActiveQO) throws BizException;
}
